package edu.lingnan.service;

import edu.lingnan.pojo.MyOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */

public interface MyOrderService extends IService<MyOrder> {
    List<MyOrder> selectAllMyOrder(Long id);

    List<MyOrder> selectOrderByOrderId(Long id);

    List<MyOrder> selectOrderByStoreId(Long id);

    int deleteOrderByOrderId(Long id);

    void addOrder(MyOrder order,Long productId);
}
